package com.extension.company.model.entity;

import java.util.List;

/**
 * 作者:zwk
 * 联系方式：497981239@qq.com
 * 时间：on 2019/7/14 14:34
 * 功能：商品分类左侧的list
 */
public class LeftListBean {


	/**
	 * code : 200
	 * msg : 请求成功
	 * time : 1563010909
	 * data : {"category":[{"id":4,"name":"电子产品"},{"id":6,"name":"水果生鲜"},{"id":10,"name":"家居用品"},{"id":11,"name":"护肤彩妆"},{"id":12,"name":"母婴用品"},{"id":13,"name":"食品酒水"},{"id":14,"name":"教育专区"},{"id":15,"name":"玩具乐器"}]}
	 */

	private int code;
	private String msg;
	private String time;
	private DataBean data;

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public DataBean getData() {
		return data;
	}

	public void setData(DataBean data) {
		this.data = data;
	}

	public static class DataBean {
		private List<CategoryBean> category;

		public List<CategoryBean> getCategory() {
			return category;
		}

		public void setCategory(List<CategoryBean> category) {
			this.category = category;
		}

		public static class CategoryBean {
			/**
			 * id : 4
			 * name : 电子产品
			 */

			private int id;
			private String name;

			public int getId() {
				return id;
			}

			public void setId(int id) {
				this.id = id;
			}

			public String getName() {
				return name;
			}

			public void setName(String name) {
				this.name = name;
			}
		}
	}
}
